#!/bin/bash

echo '$0' is [$0]

echo "all $# arguments is"

for i in $@; do
    echo $i
done

# default arguments
arg2=${2-"hello this is default"}
echo "argments pos2=${arg2}"

sleep 1  ## for SECONDS
echo "run by $USER, pid=$$, up "$SECONDS"s"
